package com.crm.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.crm.entity.Users;

public interface UsersDao extends JpaRepository<Users, String>, JpaSpecificationExecutor<Users> {

	Users findByNameAndPassword(String username, String password);

}
